Home

Operator Usage

Name

has-prefix

Description

has-prefix["str"] ket
returns |yes> if the ket has the given prefix


Examples

has-prefix["not "] |not sitting at the beach>
    |yes>

has-prefix["not "] |sitting at the beach>
    |no>


See also

Operator type

ket compound